<template>
	<view class="item  mt10 " @click=" route('/pages/gas_station_mall/gas_station_detail/index')">
		<text v-show="index%2 == 0"
			style="background-color: #FF4110;width: 200rpx;border-radius: 20rpx 0 20rpx 0;padding: 5rpx 10rpx;color: #fff;font-size: 24rpx;display: flex;justify-content: center;">
			云油供应链保障</text>
		<view class="body">
			<view class="one flex-between">
				<u-text size="17" bold lines="1" text="中化石油南区路加油站"></u-text>
				<view class="address flex">
					<u-icon name="weizhi" customPrefix="custom-icon" size="10"></u-icon>
					<text class="ml5">1.2KM</text>
				</view>
			</view>
			<view class="two">
				<u-text size="12" lines="1" type="info" text="渝中区长江一路53号"></u-text>
			</view>
			<view class="three flex-between mt10">
				<view class="l">
					<view class="tag">
						云油合作油站
					</view>
				</view>
				<view class="r self-center">
					<text>券后价</text>
					<text class="amount ">
						<text class="symbol">￥</text>
						<text class="num">6.22</text>
					</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	import {
		route
	} from '@/uni_modules/uview-plus';
</script>

<style lang="scss">
	.item {
		// padding: 0 20rpx;

		background-color: #fff;
		border-radius: 20rpx;

		flex: 1;

		.body {
			padding: 20rpx;

			.one {
				.address {
					background-color: #FAFAFA;
					padding: 10rpx 16rpx;
					font-size: 12px;
					border-radius: 20px;
					font-weight: 800;
				}


			}

			.three {
				.tag {
					padding: 0 10rpx;
					font-size: 20rpx;
					color: $u-primary;
					border: $u-primary solid 1px;
					padding-left: 1;
				}

				.r {
					font-size: 12px;

					.amount {
						color: $u-primary;
						font-family: SemiBold;
						font-weight: 600;
						font-size: 14px;

						.symbol {
							font-size: 12px;
						}

						.decimal {
							font-size: 12px;
						}

						.num {
							font-size: 20px;
						}
					}

				}
			}
		}
	}
</style>